package com.chenyun.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chenyun.boot.datasource.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 短信发送记录子表
 *
 * @author: Lonni
 * @date: 2023/12/8 0008 10:58
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_sms_send_log_item")
public class SmsSendLogItem extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;


    private Long smsLogId;

    private String phone;

    /**
     * 短信平台返回的id
     */
    private String outId;

    /**
     * 重发次数
     */
    private Integer repeatSendCount;

    /**
     * 重发时间
     */
    private Date repeatSendTime;

    /**
     * 接受状态,0失败1成功
     */
    private Integer recStatus;
    /**
     * 接受时间
     */
    private Date recTime;
    /**
     * '短信平台返回的code'
     */
    private String recRemoteCode;
    /**
     * '短信平台返回的msg'
     */
    private String recRemoteMsg;


}





